package com.wootion.cims.module.communityresidence.occupancy.dto;

import com.wootion.cims.module.communitypersonal.model.Person;
import com.wootion.cims.module.communityresidence.residencelist.model.Residence;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: LanQiang
 * @Date: 2022/12/19/10:04
 * @Description: 作用xxx
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "社区入住情况")
@Accessors(chain = true)
public class OccupancyDto extends Residence implements Serializable {
    private static final long serialVersionUID = 872681926276361091L;

    @ApiModelProperty(value = "社区名称")
    private String communityName;

    @ApiModelProperty(value = "小区名称")
    private String plotName;

    @ApiModelProperty(value = "业主姓名")
    private String personName;

    @ApiModelProperty(value = "业主id")
    private String personId;
    
    @ApiModelProperty(value = "入住人员姓名")
    private List<String> stayPersons;
    
    @ApiModelProperty(value = "入住人数")
    private Long stayPersonNumber;
    
    @ApiModelProperty(value = "入住人员")
    private List<Person> personList;

    @ApiModelProperty(value = "住宅id数组")
    private List<String> ids;
    
}
